import request from '@/utils/request'

// 查询木业基础数据列表
export function listWoodBasicsData(query) {
  return request({
    url: '/business/woodPort/list',
    method: 'get',
    params: query
  })
}

// 查询木业基础数据详细
export function getWoodBasicsData(basicsId) {
  return request({
    url: '/business/woodPort/' + basicsId,
    method: 'get'
  })
}

// 新增木业基础数据
export function addWoodBasicsData(data) {
  return request({
    url: '/business/woodPort',
    method: 'post',
    data: data
  })
}

// 修改木业基础数据
export function updateWoodBasicsData(data) {
  return request({
    url: '/business/woodPort',
    method: 'put',
    data: data
  })
}

// 删除木业基础数据
export function delWoodBasicsData(basicsId) {
  return request({
    url: '/business/woodPort/' + basicsId,
    method: 'delete'
  })
}

// 导出木业基础数据
export function exportWoodBasicsData(query) {
  return request({
    url: '/business/woodPort/export',
    method: 'get',
    params: query
  })
}